<!DOCTYPE html>
<html lang="cn">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport” content=”width=device-width, initial-scale=1" />
	<meta name="keywords" content="<?php echo SEO_KEYWORDS_INDEX;?>">
	<meta name="description" content="<?php echo SEO_DESCRIPTION_INDEX;?>" />
	<meta name="msapplication-TileImage" content="">
	<link rel="shortcut icon" type="image/ico" href="<?php echo URL_SERVER;?>asset/img/favicon.png" />
	<link rel="stylesheet" href="<?php echo URL_ASSET_ROOT;?>css/lib/bootstrap/bootstrap-3.3.7.min.css">
	<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/lib/jquery/jquery-2.1.3.min.js"></script>
	<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/lib/bootstrap/bootstrap-3.3.7.min.js"></script>
	<link rel="stylesheet" href="<?php echo URL_ASSET_ROOT;?>css/private/public/layout_main.css">
</head>
<body>

<div class="header">
	<div class="header-nav-bar">
		<div class="header-nav-bar-logo"><a href="<?php echo URL_SERVER;?>"><img src="<?php echo URL_SERVER;?>asset/img/logo.png"></a></div>

		<div id="header_nav_bar_menu">
			<div class="header_nav_bar_menu" id="header_nav_bar_product">产品与服务</div>
			<div class="header_nav_bar_menu" id="header_nav_bar_support">支持</div>
			<div class="header_nav_bar_menu" id="header_nav_bar_business">商务合作</div>
			<div class="header_nav_bar_menu" id="header_nav_bar_company">公司</div>
		</div>
		<?php

		if(!$this->session()) {
			echo '<div class="header-nav-bar-register">
						<a href="'.URL_USER_REGISTER.'">
							注册
						</a>
					</div>
					<div class="header-nav-bar-login">
						<a href="'.URL_USER_LOGIN.'">
							登录
						</a>
					</div>
                ';

		} else {
			echo '
					<div class="header-nav-bar-logout">
						<a href="'.URL_USER_LOGOUT.'">
							[退出]
						</a>
					</div>
					<div class="header-nav-bar-account">
						'.Yii::app()->session['userEmail'].'
					</div>
                ';
		}
		?>
	</div>
</div>
<div class="header_menu" id="header_menu_product">
	<div class="header-nav-bar">
		<div class="header_nav_bar_menu" id="header_nav_bar_product">Maptopro-Box</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_product">Maptopro-Cloud</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_product">Maptopro-Mobile</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_product">Maptopro-TV</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_product">Maptopro-配件</div>
	</div>
</div>
<div class="header_menu" id="header_menu_support">
	<div class="header-nav-bar">
		<div class="header_nav_bar_menu" id="header_nav_bar_product">
			<a href="<?php echo URL_DEVELOPER_INDEX;?>"><?php echo TITLE_DEVELOPER;?></a>
		</div>
	</div>
</div>
<div class="header_menu" id="header_menu_business">
	<div class="header-nav-bar">
		<div class="header_nav_bar_menu" id="header_nav_bar_product">购买渠道</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_support">商业合作</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_business">广告合作</div>
	</div>
</div>
<div class="header_menu" id="header_menu_company">
	<div class="header-nav-bar">
		<div class="header_nav_bar_menu" id="header_nav_bar_product">关于我们</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_support">加入我们</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_business">联系我们</div>
		<div class="header_nav_bar_menu" id="header_nav_bar_company">媒体报道</div>
	</div>
</div>

<?php echo $content;?>

<div class="footer">
	<div class="footer-container">
		<div class="footer-column-media">
			<div class="footer-column-logo"><a href="<?php echo URL_SERVER;?>"><img src="<?php echo URL_SERVER;?>asset/img/logo_footer.png"></a></div>
			<div class="footer-column-media-icon">@微博</div>
			<div class="footer-column-media-icon">@微信</div>
			<div class="footer-column-media-icon">@GitHub</div>
		</div>
		<div class="footer-column">
			<div class="footer-column-title">产品与服务</div>
			<div class="footer-column-tro">Maptopro-Box</div>
			<div class="footer-column-tro">Maptopro-Cloud</div>
			<div class="footer-column-tro">Maptopro-Mobile</div>
			<div class="footer-column-tro">Maptopro-TV</div>
			<div class="footer-column-tro">Maptopro-配件</div>
		</div>
		<div class="footer-column">
			<div class="footer-column-title">支持</div>
			<div class="footer-column-tro"><a href="<?php echo URL_DEVELOPER_INDEX;?>"><?php echo TITLE_DEVELOPER;?></a></div>
			<div class="footer-column-tro">问答社区</div>
			<div class="footer-column-tro">技术博客</div>
			<div class="footer-column-tro">工单</div>
		</div>
		<div class="footer-column">
			<div class="footer-column-title">商务合作</div>
			<div class="footer-column-tro">购买渠道</div>
			<div class="footer-column-tro">商业合作</div>
			<div class="footer-column-tro">广告合作</div>
		</div>
		<div class="footer-column">
			<div class="footer-column-title">公司</div>
			<div class="footer-column-tro">关于我们</div>
			<div class="footer-column-tro">加入我们</div>
			<div class="footer-column-tro">联系我们</div>
			<div class="footer-column-tro">媒体报道</div>
		</div>
	</div>
	<div class="footer-bottom"><?php echo STATEMENT_COPYRIGHT;?></div>
</div>

<div id="goTop" class="go-top"><img src="<?php echo URL_SERVER;?>asset/img/go_top_arrow.png"></div>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/private/public/layout_main.js"></script>

<!--友盟统计-->
<style type="text/css">#cnzz_stat_icon_1261120765 {display: none;}</style>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261120765'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1261120765' type='text/javascript'%3E%3C/script%3E"));</script>

</body>
</html>
